package binocle

import (
	"gddgame.cc/galaxy/asteroid"
	"gddgame.cc/galaxy/binocle/module/upgrade"
)

const (
	DefaultNamespace  = "binocle"
	DefaultGroup      = ""
	DefaultDataCenter = "default"
	DefaultCore       = "core"
)

const (
	ServerMeta = "server"
)

type Config struct {
	Node           string
	Name           string
	Meta           map[string]string
	Version        string
	VersionUpgrade upgrade.Upgrade
	Local          bool
}

type AdaptHandler func(prefix string) asteroid.Adapt
